package com.bbznb.entity;

import org.springframework.data.annotation.Id;

import java.util.Date;


public class UserProfile {

    private Long id;

    private Long userId;

    private String avatarImg;

    private Integer age;

    private Date createTime;

    public UserProfile() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getAvatarImg() {
        return avatarImg;
    }

    public void setAvatarImg(String avatarImg) {
        this.avatarImg = avatarImg;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public UserProfile(Long id, Long userId, String avatarImg, Integer age, Date createTime, Date updateTime) {
        this.id = id;
        this.userId = userId;
        this.avatarImg = avatarImg;
        this.age = age;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    private Date updateTime;

}